package org.wlc.demov1Impl.mqservice;

import com.alibaba.fastjson.JSON;
import org.wlc.demov1.mq.PopOrderDelivered;

/**
 * Mq接收消息实现
 * @author wanglichao
 */
public class POPOrderDeliveredService {

    public void onMessage(String message) {

        PopOrderDelivered mq = JSON.parseObject(message, PopOrderDelivered.class);

        mq.getuId();
        mq.getOrderId();
        mq.getOrderTime();

        // ... 处理自己的业务
    }

}
